package com.meilai.project.controller.web;

import com.meilai.project.util.ThreadLocalUserUtil;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class BaseController {

    /**
     * 获取用户信息
     * @return
     */
    public Long getUserId(){
        return ThreadLocalUserUtil.get().getId();
    }

}
